.title-box {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 16px 24px;
  background: transparent;
  border-bottom: 1px solid #DCDFE6;
  border-radius: 2px 2px 0 0;
  height: 54px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  justify-content: space-between;
  background-color: #fff;

  &::before {
    position: absolute;
    content: ' ';
    width: 4px;
    height: 18px;
    background: #1890ff;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    margin-top: 2px;
    left: 0;
  }

  span {
    font-size: 1.4rem;
    color: #909399;
  }
}

.centent-box {
  padding: 24px;
  width: calc(100% - 24px - 24px);
  height: calc(100% - 54px - 24px - 24px);

  .phone-wrapper {
    width: 100%;
    height: 100%;
    align-items: flex-start;
    overflow: hidden;

    .phone-box {
      position: relative;
      flex: 1;
      height: 100%;

      img {
        width: 425px;
        height: auto;
      }

      .commonData-box {
        position: absolute;
        left: 50.1%;
        top: 90px;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        height: calc(100% - 155px - 35px);
        background-color: #EDEDED;
        overflow: hidden;
        overflow-y: auto;
        justify-content: flex-start;
        padding-top: 2rem;
        box-sizing: border-box;

        .commonData {
          width: calc(100% - 20px);
          height: auto;
          margin-bottom: 20px;

          .commonData-goods {
            background-color: #fff;
            border-radius: 0.5rem;
            padding: 1rem;
            box-sizing: border-box;

            .commonData-goods-centent {
              justify-content: flex-start;
              width: 100%;
              margin-bottom: 1.5rem;

              img,
              .img {
                width: 90px;
                height: 90px;
                border-radius: 1.5rem;
                border: none;
                background-color: #f2f2f2;
              }

              .commonData-goods-centent-info {
                height: 90px;
                padding-left: 1rem;
                justify-content: space-between;

                p {
                  width: 100%;
                }

                .p1 {
                  margin-bottom: 1rem
                }

                .p2 {
                  font-size: 1.2rem;
                  color: rgba(0, 0, 0, 0.4);
                }

                .p3 {
                  padding-top: 0.2rem;
                  font-size: 1.2rem;
                  color: rgba(0, 0, 0, 0.4);
                }
              }

            }
          }

          .commonData-ad {
            background-color: #fff;
            border-radius: 0.5rem;
            padding: 1rem;
            box-sizing: border-box;
            overflow: hidden;

            &.commonData-isAd {
              padding: 0;
              background-color: transparent;
            }
          }

          .commonData-video {
            background-color: #fff;
            border-radius: 0.5rem;
            padding: 1rem;
            box-sizing: border-box;
            overflow: hidden;

            &.commonData-isVideo {
              padding: 0;
              background-color: transparent;
            }

            video {
              width: 100%;
            }
          }

          .commonData-input {
            background-color: transparent;
            border-radius: 0.5rem;
            padding: 0rem;
            box-sizing: border-box;
            overflow: hidden;

            .form-title {
              width: 100%;
              padding: 0 0 4rem 0;
              font-size: 1.6rem;
              text-align: center;
              font-weight: bold;
            }

            .box-card {

              /deep/ .el-form-item__label {
                line-height: 10px;
                padding: 0 0px 10px 5px;
                font-weight: bold;
              }

              /deep/ .el-radio-group {
                width: 100%;
              }

              /deep/.el-form-item__content {
                line-height: 20px;
              }

              /deep/.el-checkbox-group {
                margin-top: 20px;
              }

              .btn {

                /deep/ .el-form-item__content,
                /deep/ .el-button--primary {
                  width: 100%;
                }
              }
            }
          }
        }
      }
    }

    .editor-box {
      width: calc(100% - 2rem);
      height: auto;
      max-height: calc(100% - 2px);
      overflow: hidden;
      margin-left: 2rem;
      border: 1px solid #DCDFE6;

      .editor-info {
        width: calc(100% - 4rem);
        height: auto;
        max-height: calc(100vh - 70px - 32px - 54px - 48px - 54px - 40px);
        padding: 2rem;
        color: #606266;
        font-size: 1.4rem;

        .editor-input {
          padding-bottom: 3rem;
          justify-content: flex-start;

          .p1 {
            padding-right: 1rem;
          }

          .p2 {
            padding-left: 1rem;
            font-size: 1.2rem;
            color: #909399
          }
        }

        .editor-btn {
          padding-left: 1rem;
        }

        .editor-common-box {
          width: 100%;
          height: auto;
          max-height: calc(100vh - 70px - 32px - 54px - 48px - 54px - 70px - 70px - 62px - 40px);
          overflow: hidden;
          overflow-y: auto;
          border: 1px dashed #bbbbbb;
          padding-top: 3rem;
          box-sizing: border-box;
          position: relative;

          &.editor-common-box-move {
            position: relative;

            &::after {
              content: '拖到此处滚到到顶部';
              position: fixed;
              top: 47%;
              left: 63%;
              transform: translateX(-50%);
              z-index: 1;
            }

            &::before {
              content: '拖到此处滚到到底部';
              position: fixed;
              bottom: 6.2%;
              left: 63%;
              transform: translateX(-50%);
              z-index: 1;
            }
          }

          .editor-common {
            padding: 0 1rem;
            cursor: move;

            .editor-common-goods {
              width: 100%;
              height: auto;
              padding: 1rem 2rem;
              box-sizing: border-box;
              background-color: #eff0f4;
              border-radius: .5rem;
              position: relative;
              margin-bottom: 3rem;

              .iconbtn {
                position: absolute;
                right: 0;
                top: 0;
                border-bottom-left-radius: 200%;
              }

              .goods-info {
                width: 100%;
                height: 120px;
                justify-content: space-between;
                padding: 1rem 0;

                .goods-info-left {
                  height: 100%;

                  img {
                    width: 120px;
                    height: 120px;
                    object-fit: cover;
                  }

                  .text {
                    height: 100%;
                    justify-content: space-between;
                    align-items: flex-start;
                    padding-left: 1rem;

                    span {
                      color: orange;
                    }
                  }
                }

                .goods-info-right {
                  flex: 1;
                  justify-content: flex-end;

                  .btn {
                    margin-right: 4rem;
                  }
                }

              }
            }

            .editor-common-ad {
              width: 100%;
              height: auto;
              padding: 1rem 2rem;
              box-sizing: border-box;
              background-color: #eff0f4;
              border-radius: .5rem;
              position: relative;
              margin-bottom: 3rem;

              .iconbtn {
                position: absolute;
                right: 0;
                top: 0;
                border-bottom-left-radius: 200%;
              }

              .goods-info {
                width: 100%;
                height: 120px;
                justify-content: space-between;
                padding: 1rem 0;

                .goods-info-left {
                  height: 100%;
                }

                .goods-info-right {
                  flex: 1;
                  justify-content: flex-end;

                  .btn {
                    margin-right: 4rem;
                  }


                }
              }
            }

            .editor-common-video {
              width: 100%;
              height: auto;
              padding: 1rem 2rem;
              box-sizing: border-box;
              background-color: #eff0f4;
              border-radius: .5rem;
              position: relative;
              margin-bottom: 3rem;

              .iconbtn {
                position: absolute;
                right: 0;
                top: 0;
                border-bottom-left-radius: 200%;
              }

              .goods-info {
                width: 100%;
                height: 120px;
                justify-content: space-between;
                padding: 1rem 0;

                .goods-info-left {
                  height: 100%;
                }

                .goods-info-right {
                  flex: 1;
                  justify-content: flex-end;

                  .btn {
                    margin-right: 4rem;
                  }


                }

                .video-info-right {
                  position: absolute;
                  right: 20px;
                  top: 50%;
                  transform: translateY(-50%);
                }
              }
            }

            .editor-common-input {
              width: 100%;
              height: auto;
              background-color: #eff0f4;
              border-radius: .5rem;
              position: relative;
              margin-bottom: 3rem;

              .iconbtn {
                position: absolute;
                right: 0;
                top: 0;
                border-bottom-left-radius: 200%;
                z-index: 1;
              }

              .form-box {
                .title-box {
                  color: #303133;
                  border-bottom: none;
                  padding: 0 1.5rem;
                  height: auto;
                  padding-top: 1.6rem;
                }

                .title-box2 {
                  padding-top: 0;
                  margin-top: 3rem;
                }

                .input-info {
                  width: 100%;
                  height: auto;
                  justify-content: flex-start;
                  padding: 1rem 2rem 1rem 2.5rem;
                  box-sizing: border-box;

                  &.input-info-add {
                    align-items: flex-start;
                  }

                  .input-box {
                    width: 100%;
                    margin: .5rem 0;

                    .p1 {
                      font-size: 1.2rem;
                      width: 100px;
                    }

                    .input-input {
                      flex: 1;

                      .radio-box {
                        grid-template-columns: repeat(4, 1fr);

                        .input-input {
                          margin: 0;
                        }
                      }
                    }
                  }

                  .setInput-box {
                    width: 100%;
                    padding: 1rem 2.5rem 1rem 1rem;
                    box-sizing: border-box;
                    border: 1px dashed #bbbbbb;
                    margin-bottom: 1rem;

                    .setInput-centent {
                      flex: 1;
                      width: 100%;
                      justify-content: flex-start;
                      align-items: center;

                      .setInput-centent-left {
                        flex: 2;

                        .setInput-modType {
                          width: 90px;
                        }

                        /deep/ .setInput-modTitle,
                        /deep/ .setInput-modTitle .el-input__inner {
                          flex: 1;
                          text-align: center;
                          padding: 0;
                        }

                      }

                      .setInput-centent-right {
                        flex: 3;
                        justify-content: flex-end;
                        position: relative;

                        .iconbtn {
                          right: -26px;
                          top: -18px;
                        }
                      }

                      /deep/ .input-box .input-input,
                      /deep/ .input-box .input-input .el-input__inner {
                        // color: #C0C4CF;
                        margin-left: 0;
                      }
                    }
                  }
                }
              }
            }

          }
        }
      }
    }
  }
}

div /deep/.el-dialog__header {
  border-bottom: 1px solid #e8e8e8;
}

div /deep/.el-dialog__title {
  font-size: 16px;
}

div /deep/.el-dialog__footer {
  padding: 10px;
  border-top: 1px solid #e8e8e8;
}

div /deep/.el-dialog__body {
  padding: 20px 60px;
}

.el-dialog__body .dialog-input {
  justify-content: flex-start;
  margin: 3rem 0;
}

div /deep/.el-select,
.el-input {
  flex: 1;
  margin-left: 2rem;
}

div /deep/.el-dialog__header {
  padding: 20px;
}

div /deep/.el-dialog__headerbtn {
  position: absolute;
  top: 15px;
  right: 20px;
  padding: 0;
  background: 0 0;
  border: none;
  outline: 0;
  cursor: pointer;
  font-size: 16px;
}

div /deep/.el-upload--picture-card {
  width: 120px;
  height: 120px;
  line-height: 120px;
}

div /deep/.el-upload-list--picture-card .el-upload-list__item {
  width: 120px;
  height: 120px;
}

div /deep/.goods-info-right .adinput {
  padding: 0 20px;
}

div /deep/.video-info-left .el-upload-list--picture-card .el-upload-list__item {
  width: auto;
}

div /deep/.commonData-goods-centent-button {
  font-size: 1.4rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(180deg, #ff604f 0%, #ff3924 100%);
  color: #fff;
  border: none;
}